package cn.wsalix.web;

import java.util.Map;

import org.springframework.web.context.WebApplicationContext;

import cn.wsalix.admin.entity.SysDict;
import cn.wsalix.constant.Global;

public class GlobalWeb extends Global {
	public static WebApplicationContext springContext;
	public static SysDict defineException;// 异常定义
	public static Map<String, RuntimeException> exceptionInstance;

	public static Object getBean(String beanName) {
		return springContext.getBean(beanName);
	}

	public void setSpringContext(WebApplicationContext webApplicationContext) {
		super.setSpringContext(webApplicationContext);
	}

}
